import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import 'lib-flexible'
import { postRequest, getRequest, setRequest, baseUrl } from './api/http'
import util from "./utils/util.js";
Vue.prototype.$util = util;
Vue.config.productionTip = false
Vue.prototype.$baseUrl = baseUrl
Vue.prototype.$postRequest = postRequest
Vue.prototype.$getRequest = getRequest
Vue.prototype.$setRequest = setRequest
Vue.prototype.$size = 15
Vue.use(ElementUI);
// 引入粒子特效
import VueParticles from "vue-particles"
Vue.use(VueParticles)
new Vue({
  router,
  render: h => h(App),
  data() {
    return {
      barflag: false,
      allNum: 1,
      goEasy: null,
      video: true
    }
  }
}).$mount('#app')
